MPICameraManager
A camera controls manager.
This class encapsulates the methods that manipulate the camera.
Constructors
Creates a MPICameraManager.
Properties
an instance of MPICameraListener
the current camera rotation of MPIMapView.
the current camera tilt of MPIMapView.
Functions
Animate the Camera's view to smoothly transition to a new state over time, using a coordinate.
Animate the Camera's view to smoothly transition to a new state over time, using a node.
Disables user camera interactions.
Enables user camera interactions.
Focus the Camera view on a collection of targets and animate to that state.
Set the Camera's view to a new state using a coordinate.
Set the Camera's view to a new state using a node.
Enable or disable the ability for the user to interact with the camera (e.g. pan, zoom, tilt, etc). This does not affect programmatic camera controls, such as set and focusOn.
Sets the maximum tilt of MPIMapView, in radians
Sets the maximum zoom level of MPIMapView
Sets the minimum zoom level of MPIMapView
Sets the current camera rotation of MPIMapView
Define an area of the screen that is safe or unobscured for the camera. Anything outside the safe area is assumed to be covered in some way (e.g. by UI) meaning the camera will not place focus on elements in that area.
Moves the Camera view in a relative direction by a given distance in meters.